package cn.lbf.stuniversity.equipmenttype.service;

import cn.lbf.stuniversity.equipmenttype.entity.EquipmentType;
import cn.lbf.stuniversity.equipmenttype.entity.EquipmentTypeTreeNode;
import cn.lbf.stuniversity.equipmenttype.form.EquipTypeAddForm;
import cn.lbf.stuniversity.equipmenttype.form.EquipTypeDetailForm;
import cn.lbf.stuniversity.equipmenttype.form.EquipTypeForm;
import cn.lbf.stuniversity.vo.Result;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;
public interface EquipmentTypeService {
    public Result<Map<String,Object>> addNew(EquipTypeAddForm equipTypeForm);
    public List<EquipmentType> selectAll();
    public List<EquipmentTypeTreeNode> getEquipmentTypeTree();
    public Result<Page<EquipmentType>> queryList(EquipTypeForm form);
    public Result<String> del(String equipmentTypeId);
    public Result<String> updateByEquipmentTypeId(EquipTypeDetailForm equipTypeDetailForm);
}
